package com.qf.dao;

import com.qf.pojo.entity.QfCourse;
import com.qf.pojo.req.QfCourseReq;
import org.apache.ibatis.annotations.Mapper;

import javax.transaction.Transactional;
import java.util.List;
@Mapper
public interface QfCourseMapper {

    List<QfCourse> findAll();
    @Transactional
    void insertCourse(QfCourseReq qfCourseReq);
    @Transactional
    void updateCourse(QfCourseReq qfCourseReq);

    void deleteById(Integer id);
}
